body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.product-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 10px;
    width: 300px; /* 自定义宽度 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.product-item:hover {
    transform: scale(1.05); /* 鼠标悬停效果 */
}

.product-img img {
    width: 100%;
    height: auto;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.product-info {
    padding: 15px;
}

.product-info div {
    margin-bottom: 10px;
}

.product-info span {
    font-weight: bold;
}

.product-info del {
    color: red;
}

.product-info a {
    text-decoration: none;
    color: #337ab7;
    font-weight: bold;
}

.product-info a:hover {
    text-decoration: underline; /* 鼠标悬停时的效果 */
}
